<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>模特-魔步网</title>
<?php include_once(VIEWPATH."public/header_title.php");?>
<link href="<?php echo _get_cfg_path('css')?>base.css" type="text/css" rel="stylesheet" />
<link href="<?php echo _get_cfg_path('css')?>common.css" type="text/css" rel="stylesheet" />
<link href="<?php echo _get_cfg_path('css')?>ad.css" type="text/css" rel="stylesheet" />
</head>
<body>
<div class="advisory_desc">
    <div class="footer">
        <?php if ($pre_id):?>
        <div class="footer_left">
            <a href="/ad/advisorydesc?id=<?=_get_key_val($pre_id);?>">
                <div class="left footer_left_left">
                    <img src="<?php echo _get_cfg_path('images')?>ad/pre_icon.png" alt=""/>
                </div>
                <div class="right footer_left_right">
                    <span class="title">上一篇文章</span><br/>
                    <span class="ad_title"><?=$pre_title?></span>
                </div>
            
                <!-- <span><img src="<?php echo _get_cfg_path('images')?>ad/pre_icon.png" alt=""/></span>      
                <span>上一篇文章</span><br/>
                <span><?=$pre_title?></span> -->
            </a>
        </div>
        <?php endif;?>
        <?php if ($next_id):?>
        <div class="footer_right">
            <a href="/ad/advisorydesc?id=<?=_get_key_val($next_id);?>">
                <div class="left footer_right_left">
                    <span class="title">下一篇文章</span><br/>
                    <span class="ad_title"><?=$next_title?></span>
                </div>
                <div class="right footer_right_right">
                    <img src="<?php echo _get_cfg_path('images')?>ad/next_icon.png" alt=""/>
                </div>
            </a>
        </div>
        <?php endif;?>
    </div>
    <div class="head"><?=$title?></div>
    <div class="content"><?=htmlspecialchars_decode($advisory_desc)?></div>
    <div class="footer">
        <?php if ($pre_id):?>
        <div class="footer_left">
            <a href="/ad/advisorydesc?id=<?=_get_key_val($pre_id);?>">
                <div class="left footer_left_left">
                    <img src="<?php echo _get_cfg_path('images')?>ad/pre_icon.png" alt=""/>
                </div>
                <div class="right footer_left_right">
                    <span class="title">上一篇文章</span><br/>
                    <span class="ad_title"><?=$pre_title?></span>
                </div>
            
                <!-- <span><img src="<?php echo _get_cfg_path('images')?>ad/pre_icon.png" alt=""/></span>      
                <span>上一篇文章</span><br/>
                <span><?=$pre_title?></span> -->
            </a>
        </div>
        <?php endif;?>
        <?php if ($next_id):?>
        <div class="footer_right">
            <a href="/ad/advisorydesc?id=<?=_get_key_val($next_id);?>">
                <div class="left footer_right_left">
                    <span class="title">下一篇文章</span><br/>
                    <span class="ad_title"><?=$next_title?></span>
                </div>
                <div class="right footer_right_right">
                    <img src="<?php echo _get_cfg_path('images')?>ad/next_icon.png" alt=""/>
                </div>
            </a>
        </div>
        <?php endif;?>
    </div>
</div>
</body>
<script type="text/javascript" src="<?php echo _get_cfg_path('js')?>jquery-1.9.1.min.js"></script>
<script type="text/javascript" src="<?php echo _get_cfg_path('js')?>common.js"></script>
<script type="text/javascript" src="<?php echo _get_cfg_path('js')?>lyz.delayLoading.min.js"></script>
<script type="text/javascript">
$(function () {
	$("img").delayLoading({
		defaultImg: "<?php echo _get_cfg_path('images')?>loading.jpg",   // 预加载前显示的图片
		errorImg: "",                       // 读取图片错误时替换图片(默认：与defaultImg一样)
		imgSrcAttr: "originalSrc",          // 记录图片路径的属性(默认：originalSrc，页面img的src属性也要替换为originalSrc)
		beforehand: 0,                      // 预先提前多少像素加载图片(默认：0)
		event: "scroll",                    // 触发加载图片事件(默认：scroll)
		duration: "normal",                 // 三种预定淡出(入)速度之一的字符串("slow", "normal", or "fast")或表示动画时长的毫秒数值(如：1000),默认:"normal"
		container: window,                  // 对象加载的位置容器(默认：window)
		success: function (imgObj) {},      // 加载图片成功后的回调函数(默认：不执行任何操作)
		error: function (imgObj) {}         // 加载图片失败后的回调函数(默认：不执行任何操作)
	});
});
</script>
</html>